package com.chexiehui.jc.entity;

import java.io.Serializable;

public class ChooseDateModel implements Serializable {

    private int year;
    private int month;

    public ChooseDateModel(int year, int month) {
        this.year = year;
        this.month = month;
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    public String getYearMonth() {
        return year + "-" + (month < 10 ? "0" + month : month);
    }
}
